package org.andolphin.client;

import android.content.Context;
import android.os.Handler;

public class ResultHandler {
    private Handler handler;
    
    private Context context;

    public ResultHandler(Handler handler, Context context) {
        this.handler = handler;
        this.context = context;
    }

    public Handler getHandler() {
        return handler;
    }

    public void setHandler(Handler handler) {
        this.handler = handler;
    }

    public Context getContext() {
        return context;
    }

    public void setContext(Context context) {
        this.context = context;
    }
    
    public static ResultHandler create(Handler handler, Context context){
        return new ResultHandler(handler, context);
    }
    
}
